package cn.com.surker.base.system.vo;

import cn.com.surker.base.system.entity.SysStorage;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 仓位信息表
 * </p>
 *
 * @author admin
 * @since 2024-09-02
 */
@Data
public class SysStorageVo extends SysStorage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 生产线
     */
    private String lineName;
    /**
     * 材料全称
     */
    private String nameNorms;
    /**
     * 生产线ID
     */
    private Long lineId;

    /**
     * 仓位ID
     */
    private Long storageId;
    /**
     * 工控仓位ID
     */
    private Long controlId;
    /**
     * 工控仓位名称
     */
    private String controlStorage;

    /**
     * 盘存初始值
     */
    private Double initial;

    /**
     * 盘存调整值
     */
    private Double adjustment;
    /**
     * 盘存初始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startDate;
    /**
     * 进料净重
     */
    private Double netWeight;
    /**
     * 材料消耗
     */
    private Double realExpend;
    /**
     * 材料手动消耗
     */
    private Double dosage;
    /**
     * 库存值 计算后按吨存储
     */
    private Double storeValue;

    /**
     * 0:系统计算1:原材盘点2:仓位换料
     */
    private Integer historyType;

    /**
     * 仓位编号
     */
    private String storageCode;

    /**
     * 料仓状态
     */
    private String storageStatus;

    /**
     * 上料供应商
     */
    private String supplier;

    /**
     * 最大容量
     */
    private Double maxStorage;
}
